
/**
 * 游戏元素ID生成
 */
export class GameItemID {
    /**
     * BoardID索引
     */
    private static _boardIDIndex_n: number = 0;

    /**
     * 生成一个 BoardID
     */
    public static generateBoardID(): number {
        return GameItemID._boardIDIndex_n++
    }

    
    /**
    * BoardID索引
    */
    private static _nailIDIndex_n: number = 0;

    /**
     * 生成一个 NailID
     */
    public static generateNailID(): number {
        return GameItemID._nailIDIndex_n++
    }
}